package cn.iocoder.yudao.module.wms.controller.admin;


import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;

@Tag(name = "管理后台 - 第一个测试接口")
@RestController
@RequestMapping("/wms/test")
@Validated
public class DemoTestController {


    @GetMapping("/update2")
    @Operation(summary = "更新get  信息")
    public CommonResult<String> update2() {
        return success("test");
    }
}
